package elderlycommunity.service;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@SpringBootApplication
@ComponentScan(basePackages = {"elderlycommunity.service", "common.service"})
@MapperScan({"elderlycommunity.service.db.dao"})
public class ElderlyCommunityServiceApplication extends WebMvcConfigurerAdapter {

    public static void main(String[] args) {
    	System.out.println("测试提交");
        new SpringApplicationBuilder(ElderlyCommunityServiceApplication.class)
                .run(args);

    }

}
